/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package valida.beans;

/**
 *
 * @author Andres Felipe
 */
public interface IReglas {

    public final static int VALIDA_LONGITUD=1;
    public final static int VALIDA_RANGO=2;
    public final static int VALIDA_NUMERO=3;
    public final static int VALIDA_CODIGOS=4;


    public static String REGLA_VALIDA_LONGITUD="SELECT * FROM %NOMBRETABLA% WHERE LENGHT(%NOMBRECAMPO%)<>%VALOR%";

}
